package com.cjjd.c.bean;

import android.text.TextUtils;

/**
 * Created by Administrator on 2017/9/23.
 */

public class SelectHomeItemBean extends BaseBean {


    /**
     * checkInDate : 2017-09-02
     * checkInDayNum : 1
     * checkInState : 0
     * checkOutDate : 2017-09-03
     * chekInIDCard :
     * chekInName :
     * customerUuid : null
     * delFlag : 1
     * depositMoney : 200
     * finalPrice : 0
     * freePrice : 0
     * isChooseRoom :
     * mapCondition : {}
     * name : 王小三
     * opeTime : 2017-05-23 15:42:48
     * oper : null
     * orderMainUuid : 0cf4e05519914bf09394a8d756600001
     * passangerUuid :
     * payOrderId : null
     * roomNo : null
     * roomNum : 1
     * roomPrice : 300
     * roomType : 1
     * roomTypeName : 单人间
     * sortName : uuid
     * sortType : desc
     * unlockedTime
     * uuid : 0cf4e05519914bf09394a8d7566wesxf
     */

    // 通过房间号或者身份证号是否为 null 来判断是否选择了房间
    public String roomNo;           // 入住房间号
    public String chekInIDCard;     // 入住人身份证号码
    public String chekInName;       // 入住人姓名
    public String buildingName;     // 楼栋号


    public String isChooseRoom;     // 1 已经选房， 0 未选房

    public String checkInDate;
    public String checkInDayNum;
    public String checkInState;
    public String checkOutDate;
    public String customerUuid;
    public String delFlag;
    public String depositMoney;
    public String finalPrice;
    public String freePrice;
    public Object mapCondition;
    public String name;
    public String opeTime;
    public String oper;
    public String orderMainUuid;
    public String passangerUuid;
    public String payOrderId;
    public String roomNum;
    public String roomPrice;
    public String roomType;
    public String roomTypeName;
    public String sortName;
    public String sortType;
    public String unlockedTime;         // 锁定时间  单位秒
    public String uuid;

    public String getRoomNo() {
        if (TextUtils.isEmpty(roomNo)) {
            return "";
        }
        return roomNo;
    }

    public String getChekInIDCard() {
        if (TextUtils.isEmpty(chekInIDCard)) {
            return "";
        }
        return chekInIDCard;
    }

    public String getCheckInName() {
        if (TextUtils.isEmpty(chekInName)) {
            return "";
        }
        return chekInName;
    }
}
